runtime.consistentHeapStats.gen (field)
4 uses
runtime (current package)
mstats.go#L749: gen atomic.Uint32
mstats.go#L787: gen := m.gen.Load() % 3
mstats.go#L858: currGen := m.gen.Load()
mstats.go#L873: m.gen.Swap((currGen + 1) % 3)
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)